import request from "@/utils/request";

import useUserStore from "@/store/modules/user";
import { RouteInfo } from "./config/data";

// 获取路由
export const getRouters = () => {
  // 直接返回接口数据
  return new Promise((resolve) => resolve(RouteInfo));
  // return request({
  //   url: "/getRouters",
  //   method: "get"
  // });
};
